home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / biology / strncoll.sit / Strain Collection 0.1 / background_13995.xml next >
Encoding:
Extensible Markup Language  |  1991-12-15  |  9.7 KB  |  339 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>13995</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_14345.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_23390.css" />
  11.     <part>
  12.         <id>12</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <true /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>15</left>
  23.             <top>93</top>
  24.             <right>208</right>
  25.             <bottom>304</bottom>
  26.         </rect>
  27.         <style>scrolling</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Times</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>italic</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>findGene</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>3</id>
  45.         <type>button</type>
  46.         <visible> <true /> </visible>
  47.         <reserved5> 0 </reserved5>
  48.         <reserved4> 0 </reserved4>
  49.         <reserved3> 0 </reserved3>
  50.         <reserved2> 0 </reserved2>
  51.         <reserved1> 0 </reserved1>
  52.         <enabled> <true /> </enabled>
  53.         <rect>
  54.             <left>291</left>
  55.             <top>34</top>
  56.             <right>318</right>
  57.             <bottom>56</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <showName> <false /> </showName>
  61.         <highlight> <false /> </highlight>
  62.         <autoHighlight> <true /> </autoHighlight>
  63.         <sharedHighlight> <true /> </sharedHighlight>
  64.         <family>0</family>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>2162</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Chicago</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <name>Return</name>
  72.         <script>on mouseUp
  73. go back
  74. end mouseUp
  75. </script>
  76.     </part>
  77.     <part>
  78.         <id>5</id>
  79.         <type>button</type>
  80.         <visible> <true /> </visible>
  81.         <reserved5> 0 </reserved5>
  82.         <reserved4> 0 </reserved4>
  83.         <reserved3> 0 </reserved3>
  84.         <reserved2> 0 </reserved2>
  85.         <reserved1> 0 </reserved1>
  86.         <enabled> <true /> </enabled>
  87.         <rect>
  88.             <left>195</left>
  89.             <top>310</top>
  90.             <right>316</right>
  91.             <bottom>328</bottom>
  92.         </rect>
  93.         <style>roundrect</style>
  94.         <showName> <true /> </showName>
  95.         <highlight> <false /> </highlight>
  96.         <autoHighlight> <true /> </autoHighlight>
  97.         <sharedHighlight> <true /> </sharedHighlight>
  98.         <family>0</family>
  99.         <titleWidth>0</titleWidth>
  100.         <icon>0</icon>
  101.         <textAlign>center</textAlign>
  102.         <font>Times</font>
  103.         <textSize>12</textSize>
  104.         <textStyle>bold</textStyle>
  105.         <name>In a Different Stack</name>
  106.         <script>on mouseUp
  107. get field findGene
  108. doMenu "Open Stack..."
  109. go to card "findCard"
  110. put it into field findGene
  111. send mouseUp to bkgnd button "List Strains Containing Genes"
  112. end mouseUp
  113. </script>
  114.     </part>
  115.     <part>
  116.         <id>9</id>
  117.         <type>field</type>
  118.         <visible> <true /> </visible>
  119.         <dontWrap> <false /> </dontWrap>
  120.         <dontSearch> <true /> </dontSearch>
  121.         <sharedText> <false /> </sharedText>
  122.         <fixedLineHeight> <true /> </fixedLineHeight>
  123.         <autoTab> <false /> </autoTab>
  124.         <lockText> <true /> </lockText>
  125.         <rect>
  126.             <left>13</left>
  127.             <top>33</top>
  128.             <right>116</right>
  129.             <bottom>56</bottom>
  130.         </rect>
  131.         <style>transparent</style>
  132.         <autoSelect> <false /> </autoSelect>
  133.         <showLines> <false /> </showLines>
  134.         <wideMargins> <false /> </wideMargins>
  135.         <multipleLines> <false /> </multipleLines>
  136.         <reservedFamily> 0 </reservedFamily>
  137.         <titleWidth>0</titleWidth>
  138.         <icon>0</icon>
  139.         <textAlign>left</textAlign>
  140.         <font>Times</font>
  141.         <textSize>18</textSize>
  142.         <textStyle>plain</textStyle>
  143.         <textHeight>24</textHeight>
  144.         <name>strainName</name>
  145.         <script></script>
  146.     </part>
  147.     <part>
  148.         <id>10</id>
  149.         <type>field</type>
  150.         <visible> <true /> </visible>
  151.         <dontWrap> <false /> </dontWrap>
  152.         <dontSearch> <false /> </dontSearch>
  153.         <sharedText> <true /> </sharedText>
  154.         <fixedLineHeight> <false /> </fixedLineHeight>
  155.         <autoTab> <false /> </autoTab>
  156.         <lockText> <true /> </lockText>
  157.         <rect>
  158.             <left>12</left>
  159.             <top>71</top>
  160.             <right>120</right>
  161.             <bottom>91</bottom>
  162.         </rect>
  163.         <style>transparent</style>
  164.         <autoSelect> <false /> </autoSelect>
  165.         <showLines> <false /> </showLines>
  166.         <wideMargins> <false /> </wideMargins>
  167.         <multipleLines> <false /> </multipleLines>
  168.         <reservedFamily> 0 </reservedFamily>
  169.         <titleWidth>0</titleWidth>
  170.         <icon>0</icon>
  171.         <textAlign>left</textAlign>
  172.         <font>Times</font>
  173.         <textSize>18</textSize>
  174.         <textStyle>plain</textStyle>
  175.         <textHeight>24</textHeight>
  176.         <name></name>
  177.         <script></script>
  178.     </part>
  179.     <part>
  180.         <id>11</id>
  181.         <type>field</type>
  182.         <visible> <true /> </visible>
  183.         <dontWrap> <false /> </dontWrap>
  184.         <dontSearch> <false /> </dontSearch>
  185.         <sharedText> <true /> </sharedText>
  186.         <fixedLineHeight> <false /> </fixedLineHeight>
  187.         <autoTab> <false /> </autoTab>
  188.         <lockText> <true /> </lockText>
  189.         <rect>
  190.             <left>210</left>
  191.             <top>71</top>
  192.             <right>385</right>
  193.             <bottom>91</bottom>
  194.         </rect>
  195.         <style>transparent</style>
  196.         <autoSelect> <false /> </autoSelect>
  197.         <showLines> <false /> </showLines>
  198.         <wideMargins> <false /> </wideMargins>
  199.         <multipleLines> <false /> </multipleLines>
  200.         <reservedFamily> 0 </reservedFamily>
  201.         <titleWidth>0</titleWidth>
  202.         <icon>0</icon>
  203.         <textAlign>left</textAlign>
  204.         <font>Times</font>
  205.         <textSize>18</textSize>
  206.         <textStyle>plain</textStyle>
  207.         <textHeight>24</textHeight>
  208.         <name>infoLabel</name>
  209.         <script></script>
  210.     </part>
  211.     <part>
  212.         <id>14</id>
  213.         <type>field</type>
  214.         <visible> <true /> </visible>
  215.         <dontWrap> <false /> </dontWrap>
  216.         <dontSearch> <true /> </dontSearch>
  217.         <sharedText> <false /> </sharedText>
  218.         <fixedLineHeight> <true /> </fixedLineHeight>
  219.         <autoTab> <false /> </autoTab>
  220.         <lockText> <false /> </lockText>
  221.         <rect>
  222.             <left>214</left>
  223.             <top>93</top>
  224.             <right>493</right>
  225.             <bottom>259</bottom>
  226.         </rect>
  227.         <style>scrolling</style>
  228.         <autoSelect> <false /> </autoSelect>
  229.         <showLines> <true /> </showLines>
  230.         <wideMargins> <false /> </wideMargins>
  231.         <multipleLines> <false /> </multipleLines>
  232.         <reservedFamily> 0 </reservedFamily>
  233.         <titleWidth>0</titleWidth>
  234.         <icon>0</icon>
  235.         <textAlign>left</textAlign>
  236.         <font>Times</font>
  237.         <textSize>12</textSize>
  238.         <textStyle>plain</textStyle>
  239.         <textHeight>16</textHeight>
  240.         <name>strainsFound</name>
  241.         <script></script>
  242.     </part>
  243.     <part>
  244.         <id>15</id>
  245.         <type>button</type>
  246.         <visible> <true /> </visible>
  247.         <reserved5> 0 </reserved5>
  248.         <reserved4> 0 </reserved4>
  249.         <reserved3> 0 </reserved3>
  250.         <reserved2> 0 </reserved2>
  251.         <reserved1> 0 </reserved1>
  252.         <enabled> <true /> </enabled>
  253.         <rect>
  254.             <left>468</left>
  255.             <top>35</top>
  256.             <right>499</right>
  257.             <bottom>55</bottom>
  258.         </rect>
  259.         <style>rectangle</style>
  260.         <showName> <true /> </showName>
  261.         <highlight> <false /> </highlight>
  262.         <autoHighlight> <true /> </autoHighlight>
  263.         <sharedHighlight> <true /> </sharedHighlight>
  264.         <family>0</family>
  265.         <titleWidth>0</titleWidth>
  266.         <icon>0</icon>
  267.         <textAlign>center</textAlign>
  268.         <font>Times</font>
  269.         <textSize>12</textSize>
  270.         <textStyle>bold</textStyle>
  271.         <name>Help</name>
  272.         <script>on mouseUp
  273. push card
  274. go to card "Help"
  275. end mouseUp</script>
  276.     </part>
  277.     <part>
  278.         <id>16</id>
  279.         <type>button</type>
  280.         <visible> <true /> </visible>
  281.         <reserved5> 0 </reserved5>
  282.         <reserved4> 0 </reserved4>
  283.         <reserved3> 0 </reserved3>
  284.         <reserved2> 0 </reserved2>
  285.         <reserved1> 0 </reserved1>
  286.         <enabled> <true /> </enabled>
  287.         <rect>
  288.             <left>217</left>
  289.             <top>261</top>
  290.             <right>346</right>
  291.             <bottom>279</bottom>
  292.         </rect>
  293.         <style>roundrect</style>
  294.         <showName> <true /> </showName>
  295.         <highlight> <false /> </highlight>
  296.         <autoHighlight> <false /> </autoHighlight>
  297.         <sharedHighlight> <true /> </sharedHighlight>
  298.         <family>0</family>
  299.         <titleWidth>0</titleWidth>
  300.         <icon>0</icon>
  301.         <textAlign>center</textAlign>
  302.         <font>Times</font>
  303.         <textSize>12</textSize>
  304.         <textStyle>bold</textStyle>
  305.         <name>Go to Selected Strain</name>
  306.         <script>on mouseUp
  307. find the selection in field "strainName"
  308. end mouseUp</script>
  309.     </part>
  310.     <part>
  311.         <id>20</id>
  312.         <type>button</type>
  313.         <visible> <true /> </visible>
  314.         <reserved5> 0 </reserved5>
  315.         <reserved4> 0 </reserved4>
  316.         <reserved3> 0 </reserved3>
  317.         <reserved2> 0 </reserved2>
  318.         <reserved1> 0 </reserved1>
  319.         <enabled> <true /> </enabled>
  320.         <rect>
  321.             <left>16</left>
  322.             <top>310</top>
  323.             <right>190</right>
  324.             <bottom>328</bottom>
  325.         </rect>
  326.         <style>roundrect</style>
  327.         <showName> <true /> </showName>
  328.         <highlight> <false /> </highlight>
  329.         <autoHighlight> <true /> </autoHighlight>
  330.         <sharedHighlight> <true /> </sharedHighlight>
  331.         <family>0</family>
  332.         <titleWidth>0</titleWidth>
  333.         <icon>0</icon>
  334.         <textAlign>center</textAlign>
  335.         <font>Times</font>
  336.         <textSize>12</textSize>
  337.         <textStyle>bold</textStyle>
  338.         <name>List Strains Containing Genes</name>
  339.         <script>on mouseUp
  340. set cursor to busy
  341. set lockscreen to true
  342. set lockmessages to true
  343. put the id of this card into cardid
  344. put empty into theWords
  345. repeat with theLine = 1 to the number of lines in field findGene
  346. put " " & line theLine of field findGene into word theLine of theWords
  347. end repeat
  348. put empty into field strainsFound
  349.  
  350. put 0 into prevCard
  351. find theWords in field genoType
  352.  
  353. if the id of this card <> cardid then
  354. repeat while ( the number of this card > prevCard )
  355. put (field strainName & return) ┬¼
  356. after field strainsFound of card "findcard"
  357. put the number of this card into prevCard
  358. set cursor to busy
  359. find theWords in field genotype
  360. end repeat
  361. do "go to" && cardid
  362. end if
  363. set lockmessages to false
  364. set lockscreen to false
  365. end mouseUp
  366. </script>
  367.     </part>
  368.     <content>
  369.         <layer>background</layer>
  370.         <id>10</id>
  371.         <text>Genotype</text>
  372.     </content>
  373.     <content>
  374.         <layer>background</layer>
  375.         <id>11</id>
  376.         <text>Strain Description</text>
  377.     </content>
  378.     <name>Find</name>
  379.     <script></script>
  380. </background>
  381.